package qq.bean;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class User {
    private long id;
    private int points;
    private int attack;

    @Override
    public String toString() {
        return "{" +
                " 积分=" + points +
                ", 攻击力=" + attack +
                ", 防御力=" + defense +
                ", 生命值=" + life +
                '}';
    }

    private int defense;
    private int life;
}
